/*
 * npMath.h
 *
 *  Created on: 2012. 4. 13.
 *      Author: NitroPigSoft02
 */

#ifndef NPMATH_H_
#define NPMATH_H_

void npMatrixTranslate(float* Out, float x, float y, float z)
{
	Out[4*3 + 0] = x;
	Out[4*3 + 1] = y;
	Out[4*3 + 2] = z;
}

void npMatrixScale(float* Out, float x, float y, float z){
	Out[4*0 + 0] = x;
	Out[4*1 + 1] = y;
	Out[4*2 + 2] = z;
}


#endif /* NPMATH_H_ */
